package kr.hkit.powerjava.chapter22;

public class MultipleGenericTest {

	public static void main(String[] args) {
		Pair<String, Integer> p1 = new OrderPair<String, Integer>("Event", 6);
		Pair<Integer, Integer> p2 = new OrderPair<Integer, Integer>(1, 90);
		
		System.out.println("p1. Key: " + p1.getKey() + "\t Value: " + p1.getValue());
		System.out.println("p2. Key: " + p2.getKey() + "\t Value: " + p2.getValue());
	}
}
